﻿
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Demo.Models
{
    /// <summary>
    /// Class WeChatMenueCategory.
    /// </summary>
    [Description("菜单分类")]
    public class WeChatMenueCategory : BaseEntity<long>
    {
        /// <summary>
        /// 个性菜单名字
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }


        /// <summary>
        /// 分类类型==默认菜单，个性菜单
        /// </summary>
        /// <value>The type of the m.</value>
        public string MType { get; set; }
         
        /// <summary>
        /// 个性菜单备注
        /// </summary>
        /// <value>The name of the rule.</value>
        public string RuleName { get; set; }

        /// <summary>
        /// 菜单Id---微信服务器返回
        /// </summary>
        /// <value>The menu identifier.</value>
        public string MenuId { get; set; }


        /// <summary>
        /// 如果是个性菜单，则有匹配规则
        /// </summary>
        /// <value>The match rule.</value>
        public string MatchRule { get; set; }


        public long WeChat_Id { get; set; }


        public virtual WeChat WeChat { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public virtual ICollection<WeChatMenue> WeChatMenues { get; set; }
    }
}
